// /view
#include "view.h"
#include <stdio.h>
#include "glotech_headers.h"
#include <gl\GL.h>
#include <gl\GLU.h>
#pragma comment(lib, "opengl32.lib")
#pragma comment(lib, "glu32.lib")
#include <Windows.h>

/*

void init_graphics(void){
	int gdriver = DETECT,  gmode, errorcode;
	initgraph(&gdriver, &gmode, "");
	errorcode = graphresult();

	if(errorcode != grOk){
		printf("Graphics error: %s\n", grapherrormsg(errorcode));
		system("pause");
		exit(FAILURE);
	}
	//centrex = getmaxx()/2;
	//centrey = getmaxy()/2;
	centrex = 1024/2;
	centrey = 800/2;
}

void destroy_graph(void){
	closegraph();  
}
*/